#pragma once
#include "Common.h"
#include "System/InputSystem.h"
#include <spine/spine-cocos2dx.h>

class Character
{
	enum PlayerStatus
	{
		StatusFly,
		StatusGround
	};


public:
	Character(void);
	~Character(void);

	cocos2d::extension::CCSkeleton* LoadSpineRes();
	void PlayAction(int key);
	void Update(float dt);

private:
	cocos2d::extension::CCSkeleton* mSkeletonNode;
	PlayerStatus mStatus;
};

